package com.my.xq.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sskj.core.entity.BaseEntity;

@Entity
@Table(name = "xq_proprietor_auth")
public class ProprietorAuth extends BaseEntity {

	private static final long serialVersionUID = -4323538820175680925L;

	/** 授权人业主ID */
	@Column(length = 36)
	private String authorizer;

	/** 被授权的门牌号ID */
	@Column(length = 36)
	private String doorplateId;

	/** 被授权人业主ID */
	@Column(length = 36)
	private String proprietorId;

	/** 授权状态 */
	private boolean auth;

	/** 删除标记 */
	@Column
	private boolean delFlag = false;

	public String getAuthorizer() {
		return authorizer;
	}

	public void setAuthorizer(String authorizer) {
		this.authorizer = authorizer;
	}

	public String getDoorplateId() {
		return doorplateId;
	}

	public void setDoorplateId(String doorplateId) {
		this.doorplateId = doorplateId;
	}

	public String getProprietorId() {
		return proprietorId;
	}

	public void setProprietorId(String proprietorId) {
		this.proprietorId = proprietorId;
	}

	public boolean isAuth() {
		return auth;
	}

	public void setAuth(boolean auth) {
		this.auth = auth;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

}
